<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>图片底部的4px的间距，和解决办法</title>
  <style>
    div {
      border: 1px solid #000;
      /* line-height: 0; */
    }
    img {
      /* display: block; */
      /* 非baseline */
      vertical-align: top;
    }
  </style>
</head>
<body>
  <div>
    <img src="./image/shoe2.png" alt="">
  </div>
</body>
</html>